<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../css/popup.css"/>

<link rel="stylesheet" type="text/css" href="../css/kapiform.css"/>
<script type="text/javascript">
    var open_cur = 0;
    $j = jQuery.noConflict();
    $j(document).ready(function(){
              
    

    });
</script>
<f:view>

    <h:form>
        <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>

        <div class="popup" style="height:200px; width:350px">
            <div class="popup-header">
                <div class="title">CẤU HÌNH GMAIL - YAHOO </div>
            </div>
            <div class="popup-content">
                <div class="main_content">
                    <div class="form_item_content">

                        <div class="fields_input">
                            <label><h:outputText value="Gmail"/></label>
                            <label style="display:none;"><h:outputText value="Yahoo"/></label>
                            <h:inputText value="#{m575Bean.loginGmailYahoo}"/>
                        </div>
                        <div class="fields_input">
                            <label><h:outputText value="Password: "/></label>
                            <h:inputSecret value="#{m575Bean.passwordGmailYahoo}" style="width:166px;height:23px;"/>
                        </div>
                    </div>
                </div>
            </div>
            <div class="popup-footer">              
                <div class="buttonsave" onclick="jQuery.fancybox.close() "><span><h:outputText value="#{locale.close}"/></span></div>
                <h:commandButton  action="#{m575Bean.checkLoginGmailYahoo}" value="Login" styleClass="buttonsave">
                  
                </h:commandButton>

            </div>
        </div>

    </h:form>
</f:view>
<script type="text/javascript">
    $j(document).ready(function(){
        yhight = ($j('.popup').height()-90)+"px" ;
        $j('.main_content').css('height',yhight );
        $j('.popup-content').css('height',yhight );
    });
</script>